<style type="text/css">
    .breadcrumb {
        width: 100%;
        margin-top: 0.3em;
    }

    .crumbnavs {
        display: inline-block;
        width: 80%;
    }

    .crumbnavs a {
        font-weight: bold;
    }
</style>
<?php
if (count($crumbs) > 0) {
    echo "<div class='breadcrumb'>";
    $i = 0;
    echo "<span class='crumbnavs'>";
    foreach ($crumbs as $crumb) {
        if ($i > 0) {
            echo " > ";
        }
        if ($i >= count($crumbs) - 1) {
            echo "<span>" . $crumb["text"] . "</span>";
        } else {
            echo "<a href='" . $crumb["url"] . "'\"\">" . $crumb["text"] . "</a>";
        }
        if (count($crumbs) == 1) {
            echo " > ";
        }
        $i++;
    }
    echo "</span>";
    echo "</div>";
}
?>